package cn.wolfcode.rbac.domain;

import lombok.*;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Employee {
    private Long id;           //员工id

    private String name;        //员工名字

    private String password;    //员工密码

    private String email;       //员工邮箱

    private Integer age;        //员工年龄

    private Boolean admin=false;      //是否是管理员(默认不是管理员)

    private Department dept;          //部门对象

    private List<Role> roles;           //角色集合

}